package com.bing.sina;

import com.bing.Impl.AbstrcatStep;
import com.bing.util.Context;
import com.bing.util.DriverFactory;
import com.bing.util.TaoBao;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.WebDriverWait;

import java.util.List;

/**
 * Created by Administrator on 2014/7/3.
 */
public class TaoShua implements Runnable {

    private AbstrcatStep step;
    private  Context context;

    public TaoShua(AbstrcatStep step,Context context) {
        this.step = step;
        this.context = context;
    }

    @Override
    public void run() {
        step.start(context);
    }
}
